// -验工计价信息
export function columns1(vm) {
    const cols = [
        {
            title: '序号',
            dataIndex: 'rowIndex',
            width: 80,
            align: 'center',
            customRender: function (t, r, index) {
                return parseInt(index) + 1
            }
        },
        {
            title: '单据编号',
            dataIndex: 'bill_id',
            align: 'center',
            key: "bill_id",
        },
        {
            title: '单据名称',
            dataIndex: 'bill_nm',
            align: 'center',
            key: "bill_nm",
        },
        {
            title: '验工计价总额',
            dataIndex: 'eav_sum_amt',
            align: 'center',
            key: "eav_sum_amt",
        },
        {
            title: '验工计价税额',
            dataIndex: 'eav_tax_amt',
            align: 'center',
            key: "eav_tax_amt",
        },
        {
            title: '抵减预付款',
            dataIndex: 'dedu_pia',
            align: 'center',
            key: "dedu_pia",
        },
        {
            title: '编制日期',
            dataIndex: 'comp_dt',
            align: 'center',
            key: "comp_dt",
        },
        {
            title: '税率',
            dataIndex: 'tax_rt',
            align: 'center',
            key: "tax_rt",
        },
        {
            title: '验工计价净额',
            dataIndex: 'eav_net_amt',
            align: 'center',
            key: "eav_net_amt",
        },
    ]
    return cols
}
// 详情信息
export function columns2(vm) {
    const cols = [
        {
            title: '序号',
            dataIndex: 'rowIndex',
            width: 80,
            align: 'center',
            customRender: function (t, r, index) {
                return parseInt(index) + 1
            }
        },
        {
            title: '期间号',
            dataIndex: 'accPeriod',
            align: 'center',
            key: "accPeriod",
        },
        {
            title: '账套名称',
            dataIndex: 'accName',
            align: 'center',
            key: "accName",
        },
        {
            title: '单位名称',
            dataIndex: 'orgNm',
            align: 'center',
            key: "orgNm",
        },
        {
            title: '科目名称',
            dataIndex: 'subjectName',
            align: 'center',
            key: "subjectName",
        },
        {
            title: '年份',
            dataIndex: 'accYear',
            align: 'center',
            key: "accYear",
        },
        {
            title: '原币金额',
            dataIndex: 'money',
            align: 'center',
            key: "money",
        },
    ]
    return cols
}












